using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;

public class SkillModule : MonoBehaviour
{
    public bool[] _isLoaded;
    public bool[] _isEvled;

    public bool[] IsLoaded { get => _isLoaded; set => _isLoaded = value; }
    public bool[] IsEvled { get => _isEvled; set => _isEvled = value; }

    public List<string> _skillKeys;//four of many skill names

    public Dictionary<string, int> _movDuras;//many

    private void Start() { }

    private void Update() { }

    public void IniSkillModule()
    {
        _movDuras = new Dictionary<string, int>
        {
            {"Melee",30 },
            {"Shoot",30 },
            {"Dodge",30 },
            { "X", 30 },
            { "Y", 30 },
            { "A", 30 },
            { "B", 30 },
        };
    }

    public void SetBufferData(bool[] isLoaded, bool[] isEvled)
    {
        for (int i = 0; i < IsLoaded.Length; i++) IsLoaded[i] = isLoaded[i];
        for (int i = 0; i < IsEvled.Length; i++) IsEvled[i] = isEvled[i];
    }


}
